package cn.com.zonesion.rfiddemo.bean;

import com.bin.david.form.annotation.SmartColumn;
import com.bin.david.form.annotation.SmartTable;

import java.io.Serializable;

/**
 * 描述用户打卡信息的Bean类
 */
@SmartTable(name="用户打卡信息")
public class UserAttendance implements Serializable {

    @SmartColumn(id=1,name = "上下班")
    private String workOrWorkOff;
    @SmartColumn(id=2,name = "员工姓名")
    private String employeeName;
    @SmartColumn(id=3,name = "员工卡号")
    private String employeeCardNum;
    @SmartColumn(id=4,name = "上午上班时间段")
    private String amWorkTime;
    @SmartColumn(id=5,name = "下午上班时间段")
    private String pmWorkTime;
    @SmartColumn(id=6,name = "打卡时间")
    private String attendanceTime;
    @SmartColumn(id=7,name = "打卡情况")
    private String attendanceSituation;


    public UserAttendance() {

    }

    public UserAttendance(String workOrWorkOff, String employeeName, String employeeCardNum, String amWorkTime, String pmWorkTime, String attendanceTime, String attendanceSituation) {
        this.workOrWorkOff = workOrWorkOff;
        this.employeeName = employeeName;
        this.employeeCardNum = employeeCardNum;
        this.amWorkTime = amWorkTime;
        this.pmWorkTime = pmWorkTime;
        this.attendanceTime = attendanceTime;
        this.attendanceSituation = attendanceSituation;
    }

    public String getWorkOrWorkOff() {
        return workOrWorkOff;
    }

    public void setWorkOrWorkOff(String workOrWorkOff) {
        this.workOrWorkOff = workOrWorkOff;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getEmployeeCardNum() {
        return employeeCardNum;
    }

    public void setEmployeeCardNum(String employeeCardNum) {
        this.employeeCardNum = employeeCardNum;
    }

    public String getAmWorkTime() {
        return amWorkTime;
    }

    public void setAmWorkTime(String amWorkTime) {
        this.amWorkTime = amWorkTime;
    }

    public String getPmWorkTime() {
        return pmWorkTime;
    }

    public void setPmWorkTime(String pmWorkTime) {
        this.pmWorkTime = pmWorkTime;
    }

    public String getAttendanceTime() {
        return attendanceTime;
    }

    public void setAttendanceTime(String attendanceTime) {
        this.attendanceTime = attendanceTime;
    }

    public String getAttendanceSituation() {
        return attendanceSituation;
    }

    public void setAttendanceSituation(String attendanceSituation) {
        this.attendanceSituation = attendanceSituation;
    }

    @Override
    public String toString() {
        return "UserAttendance{" +
                "workOrWorkOff='" + workOrWorkOff + '\'' +
                ", employeeName='" + employeeName + '\'' +
                ", employeeCardNum='" + employeeCardNum + '\'' +
                ", amWorkTime='" + amWorkTime + '\'' +
                ", pmWorkTime='" + pmWorkTime + '\'' +
                ", attendanceTime='" + attendanceTime + '\'' +
                ", attendanceSituation='" + attendanceSituation + '\'' +
                '}';
    }
}
